<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="author" content="于茂, http://www.cnblogs.com/Red-ButterFly/"/>
    <meta name="robots" content="index,follow"/>
    <meta name="viewport" content="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-title" content="标题">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
	<meta charset="UTF-8">
	<title>登陆</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="css/jc.main.css">
	<script type="text/javascript" src="js/jquery-3.1.0.min.js"></script>
</head>
<style type="text/css">
	.error
	{
		background:#a4a4a4 !important;
	}
    .show{
        display: block;
    }
</style>
<body>
	<header class="login-h">
		<div><b>登陆</b><a class="back">‹</a></a><a class="register" href="">注册</a></div>
	</header>
	<div ng-app="myApp" ng-controller="login" class="p-body">
		<form name="loginForm" class="login-in" action="">
			<div class="u-phone">
				<input ng-model="u_phone" name="u_phone" required type="text" placeholder="用户名" />
			</div>
			<div class="u-password">
				<input ng-model="u_password" name="u_password" required type="password" placeholder="密码">
			</div>
		</form>
		<div class="forget-pwd"><a href="">忘记密码?</a></div>
		<div class="login-btn">
			<button ng-click="loginAction()" class="error" ng-class="{'error':loginForm.u_phone.$invalid || loginForm.u_password.$invalid}"
			ng-disabled="loginForm.u_phone.$invalid || loginForm.u_password.$invalid">
				登陆
			</button>
		</div>
        <div class="reg-log-prompt" ng-class="{show:register.show}">
            {{info}}
        </div>
	</div>
</body>
 	<script type="text/javascript" src='js/angular.min.js'></script>
 	<script type="text/javascript" src="js/jc.main.js"></script>
</html>